﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace UrlSummary.Models
{
    /// <summary>
    /// 组合表
    /// </summary>
    /// 创建人：刘靖文
    /// 创建时间：2019/5/8 10:33
    public class UrlAndTypeModel
    {
        public int UrlId { get; set; }
        public int UrlType { get; set; }
        public int TypeId { get; set; }
        public string UrlName { get; set; }
        public string UrlAddress { get; set; }
        public string UrlContent { get; set; }
        public string TypeName { get; set; }
        public string TypeContent { get; set; }
        public DateTime UrlCreateTime { get; set; }
        public DateTime TypeCreateTime { get; set; }
        public string UrlCreateTimeStr
        {
            get
            {
                return UrlCreateTime.ToString("yyyy-MM-dd HH-mm-ss");
            }
        }

        public long RowNum { get => rowNum; set => rowNum = value; }

        private long rowNum;

    }
}